<!doctype html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>主页</title>
  <link rel="stylesheet" href="styles.css">
  <meta name="description" content="个人主页 — 极简 Geek 风格，只有一个链接按钮。">
</head>
<body>
  <main class="center">
    <section class="card" aria-labelledby="site-title">
      <h1 id="site-title" class="sr">个人主页</h1>
      <!-- 把 href 改成你想要跳转的链接 -->
      <a class="link-btn" href="https://chatroom.kyshen.me" id="primary-link" rel="noopener noreferrer">聊天室</a>
      <p class="hint">按 Enter 或点击按钮以进入</p>
    </section>
  </main>

  <!-- 极简脚本：支持回车键激活按钮 -->
  <script>
    document.addEventListener('keydown', function(e){
      if(e.key === 'Enter'){
        var a = document.getElementById('primary-link');
        if(a) a.click();
      }
    });
  </script>
  <footer class="site-footer" role="contentinfo" aria-label="备案信息">
    <a class="beian-link" id="beian-link" href="https://beian.miit.gov.cn/" target="_blank" rel="noopener noreferrer" title="在工信部备案查询">黔ICP备2025056174号</a>
  </footer>
</body>
</html>
